Permalink
Browse files

Fix dependencies so it works with PHP 5.6

  • Loading branch information...
REBELinBLUE committed Aug 13, 2017
1 parent 0dd66d2 commit df47133f1ed8a07b0a429828d8bdc359cdb83a98
Showing with 505 additions and 970 deletions.
  1. +0 −1 .gitattributes
  2. +0 −8 .travis.yml
  3. +0 −5 Makefile
  4. +0 −1 composer.json
  5. +151 −682 composer.lock
  6. +0 −3 phpstan.neon
  7. +354 −270 yarn.lock
View
@@ -77,7 +77,6 @@ examples/ export-ignore
phpcs.xml.dist export-ignore
phpmd.xml.dist export-ignore
phpunit.xml.dist export-ignore
phpstan.dist.neon export-ignore
Makefile export-ignore
#
View
@@ -39,14 +39,6 @@ before_install:
- phpenv config-rm xdebug.ini
install:
- |
# Remove PHPStan which doesn't work on 5.6, leave all other packages as we need to be warned about them
if [[ $(phpenv version-name) = "5.6" ]]; then
travis_retry composer install --quiet --no-interaction --prefer-dist --no-scripts --ignore-platform-reqs
composer remove --quiet --no-interaction --no-scripts --dev phpstan/phpstan
composer update --quiet --no-interaction --lock --no-scripts
rm -rf $TRAVIS_BUILD_DIR/vendor/
fi
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
before_script:
View
@@ -81,9 +81,6 @@ phpcs: ##@tests PHP Coding Standards (PSR-2)
phpdoc-check: ##@tests PHPDoc Checker
@php vendor/bin/phpdoccheck --directory=app --files-per-line 60
phpstan: ##@tests PHPStan
php vendor/bin/phpstan analyse -l 0 -c phpstan.neon app/
phpmd: ##@tests PHP Mess Detector
@echo "${GREEN}PHP Mess Detector${RESET}"
@if [ -f phpmd.xml ]; then php vendor/bin/phpmd app text phpmd.xml; fi
@@ -127,14 +124,12 @@ quicktest: ##@shortcuts Runs fast tests; these exclude PHPMD, slow unit tests, i
test: ##@shortcuts Runs most tests; but excludes integration & dusk tests
@$(MAKE) quicktest
@$(MAKE) phpunit
@$(MAKE) phpstan
@$(MAKE) phpmd
fulltest: ##@shortcuts Runs all tests
@$(MAKE) quicktest
@$(MAKE) phpunit
@$(MAKE) integration
@$(MAKE) phpstan
@$(MAKE) phpmd
@$(MAKE) dusk
View
@@ -64,7 +64,6 @@
"php-mock/php-mock-mockery": "^1.1",
"phploc/phploc": "~3.0",
"phpmd/phpmd": "~2.4",
"phpstan/phpstan": "^0.6.4",
"phpunit/phpcov": "3.1.0",
"phpunit/phpunit": "~5.7",
"sebastian/phpcpd": "^3.0",
Oops, something went wrong.

0 comments on commit df47133

Please sign in to comment.