Add Symfony Deprecation Contracts package

- Created CHANGELOG.md to maintain version history.
- Added README.md with usage instructions for the trigger_deprecation() function.
- Initialized composer.json for the Symfony Deprecation Contracts library, specifying dependencies and autoloading.
This commit is contained in:
2025-12-15 08:43:18 +01:00
parent 0eedc919db
commit 778ee26fe4
643 changed files with 113899 additions and 109267 deletions

View File

@@ -0,0 +1,48 @@
language: php
sudo: false
matrix:
fast_finish: true
include:
- php: "5.3"
env: USE_PSALM=0
dist: precise
- php: "5.4"
env: USE_PSALM=0
dist: trusty
- php: "5.5"
env: USE_PSALM=0
dist: trusty
- php: "5.6"
env: USE_PSALM=1
- php: "7.0"
env: USE_PSALM=1
- php: "7.1"
env: USE_PSALM=1
- php: "7.2"
env: USE_PSALM=1
- php: "7.3"
env: USE_PSALM=1
- php: "7.4"
env: USE_PSALM=1
- php: "nightly"
env: USE_PSALM=1
- php: "master"
env: USE_PSALM=1
- php: "hhvm"
env: USE_PSALM=1
allow_failures:
- php: "7.4"
- php: "master"
- php: "nightly"
- php: "hhvm"
before_script:
- travis_retry composer self-update
- if [[ $USE_PSALM -eq 1 ]]; then composer require --dev "vimeo/psalm:^1|^3"; fi
- travis_retry composer install --prefer-source
script:
- make lint
- make test
- if [[ $USE_PSALM -eq 1 ]]; then make typecheck; fi