|
44 | 44 | "codeception/module-asserts": "^3.0", |
45 | 45 | "codeception/module-phpbrowser": "^3.0", |
46 | 46 | "codeception/module-webdriver": "^4.0", |
47 | | - "friendsofphp/php-cs-fixer": "^3.10", |
| 47 | + "friendsofphp/php-cs-fixer": "^3.84", |
48 | 48 | "georgringer/news": "^12.0", |
49 | 49 | "helmich/typo3-typoscript-lint": "^3.1", |
50 | 50 | "helhum/typo3-console": "^8.2", |
51 | 51 | "mikey179/vfsstream": "^1.6", |
52 | | - "phpmd/phpmd": "^2.8", |
| 52 | + "phpmd/phpmd": "^2.15", |
53 | 53 | "symfony/config": ">6.2.0", |
54 | 54 | "squizlabs/php_codesniffer": "^3.5", |
55 | 55 | "typo3/cms-adminpanel": "^13.3", |
|
99 | 99 | "scripts": { |
100 | 100 | "docs:render": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation", |
101 | 101 | "test:php:cs": "php-cs-fixer fix --dry-run --config=.project/tests/.php-cs-fixer.php --diff", |
102 | | - "test:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l", |
| 102 | + "test:php:lint": "bash -c \"find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -d error_reporting=E_ALL -d display_errors=1 -l && if find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 php -d error_reporting=E_ALL -l 2>&1 | grep -q 'Deprecated:'; then echo 'Deprecation notices found, failing the build'; exit 1; fi\"", |
103 | 103 | "test:ts:lint": "typoscript-lint -c .project/tests/typoscript-lint.yml --fail-on-warnings", |
104 | 104 | "test:unit": "phpunit -c phpunit.xml.dist" |
105 | 105 | }, |
|
0 commit comments