👽 Fix some deprecations, remove useles imports #245
continuous-integration.yml
on: pull_request
Matrix: Coding Standards
Matrix: PHPUnit on MariaDB 10.5
Matrix: PHPUnit on MySQL 5.7 and PhpStan
Matrix: PHPUnit on MySQL 8
Matrix: PHPUnit on OCI8
Matrix: PHPBench
Matrix: PHPUnit on PostgreSQL
Matrix: PHPUnit with prefer-lowest
Matrix: Composer require checker
Annotations
12 errors
|
PHPBench (8.0)
Process completed with exit code 2.
|
|
PHPBench (8.0)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires couscous/couscous ^1.6.1 -> satisfiable by couscous/couscous[1.6.1, ..., 1.10.0].
- couscous/couscous[1.9.0, ..., 1.10.0] require twig/twig ^1.44 -> found twig/twig[v1.44.0, ..., v1.44.8] but these were not loaded, because they are affected by security advisories ("�]8;;https://symfony.com/blog/unguarded-calls-to-__tostring-when-nesting-an-object-into-an-array�\PKSA-yhcn-xrg3-68b1�]8;;�\", "�]8;;https://symfony.com/blog/unguarded-calls-to-__isset-and-to-array-accesses-when-the-sandbox-is-enabled�\PKSA-2wrf-1xmk-1pky�]8;;�\", "�]8;;https://symfony.com/blog/twig-security-release-possible-sandbox-bypass�\PKSA-6319-ffpf-gx66�]8;;�\", "�]8;;https://symfony.com/blog/twig-security-release-possibility-to-load-a-template-outside-a-configured-directory-when-using-the-filesystem-loader�\PKSA-n7sg-8f52-pqtf�]8;;�\"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add them to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
- couscous/couscous 1.6.1 requires symfony/process ~2.6|~3.0 -> found symfony/process[v2.6.0, ..., v2.8.52, v3.0.0, ..., v3.4.47] but these were not loaded, because they are affected by security advisories ("�]8;;https://symfony.com/cve-2024-51736�\PKSA-wws7-mr54-jsny�]8;;�\"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add them to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
- couscous/couscous[1.6.2, ..., 1.6.3] require symfony/process ~2.6|~3.0|~4.0 -> found symfony/process[v2.6.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.44] but these were not loaded, because they are affected by security advisories ("�]8;;https://symfony.com/cve-2024-51736�\PKSA-wws7-mr54-jsny�]8;;�\"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add them to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
- couscous/couscous[1.7.0, ..., 1.7.3] require symfony/process ~3.0|~4.0 -> found symfony/process[v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.44] but these were not loaded, because they are affected by security advisories ("�]8;;https://symfony.com/cve-2024-51736�\PKSA-wws7-mr54-jsny�]8;;�\"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add them to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
- couscous/couscous 1.8.0 requires twig/twig ~1.10 -> found twig/twig[v1.10.0, ..., v1.44.8] but these were not loaded, because they are affected by security advisories ("�]8;;https://symfony.com/blog/unguarded-calls-to-__tostring-when-nesting-an-object-into-an-array�\PKSA-yhcn-xrg3-68b1�]8;;�\", "�]8;;https://symfony.com/blog/unguarded-calls-to-__isset-and-to-array-accesses-when-the-sandbox-is-enabled�\PKSA-2wrf-1xmk-1pky�]8;;�\", "�]8;;https://symfony.com/blog/twig-security-release-possible-sandbox-bypass�\PKSA-6319-ffpf-gx66�]8;;�\", "�]8;;https://symfony.com/blog/twig-security-release-possibility-to-load-a-template-outside-a-configured-directory-when-using-the-filesystem-loader�\PKSA-n7sg-8f52-pqtf�]8;;�\", "�]8;;https://symfony.com/blog/twig-sandbox-information-disclosure�\PKSA-6cvh-gt46-wq7q�]8;;�\", "�]8;;https://symfony.com/blog/security-release-twig-1-20-0�\PKSA-19rw-dqx2-75hc�]8;;�\", "�]8;;http://blog.twig.sensiolabs.org/post/47461911874/security-release-twig-1-12-3-released�\PKSA-g1zx-twcw-9z6k�]8;;�\"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add them to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
Use the option --with-all-dependenci
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Method TheCodingMachine\\TDBM\\Schema\\LockFileSchemaManager\:\:_getPortableFunctionsList\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Method TheCodingMachine\\TDBM\\Schema\\LockFileSchemaManager\:\:_getPortableFunctionDefinition\(\) has parameter \$function with no type specified\.$# (missingType.parameter) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Method TheCodingMachine\\TDBM\\Schema\\LockFileSchemaManager\:\:_getPortableFunctionDefinition\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:getFilterSchemaAssetsExpression\(\)\.$# (method.notFound) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:_getPortableUsersList\(\)\.$# (method.notFound) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:_getPortableUserDefinition\(\)\.$# (method.notFound) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:_getPortableTriggersList\(\)\.$# (method.notFound) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:_getPortableTriggerDefinition\(\)\.$# (method.notFound) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:_getPortableFunctionsList\(\)\.$# (method.notFound) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|
|
PHPUnit on MySQL 5.7 and PhpStan (8.0):
src/Schema/LockFileSchemaManager.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\DBAL\\Schema\\AbstractSchemaManager\:\:_getPortableFunctionDefinition\(\)\.$# (method.notFound) in path /home/runner/work/tdbm/tdbm/src/Schema/LockFileSchemaManager.php was not matched in reported errors.
|