mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°8834 - Add compatibility with PHP 8.4 (#819)
* N°8834 - Add compatibility with PHP 8.4 * Rollback of scssphp/scssphp version upgrade due to compilation error
This commit is contained in:
@@ -97,7 +97,8 @@ class PassConfig
|
||||
new AliasDeprecatedPublicServicesPass(),
|
||||
],
|
||||
// Let build parameters be available as late as possible
|
||||
-2048 => [new RemoveBuildParametersPass()],
|
||||
// Don't remove array parameters since ResolveParameterPlaceHoldersPass doesn't resolve them
|
||||
-2048 => [new RemoveBuildParametersPass(true)],
|
||||
];
|
||||
}
|
||||
|
||||
@@ -129,7 +130,7 @@ class PassConfig
|
||||
{
|
||||
$property = $type.'Passes';
|
||||
if (!isset($this->$property)) {
|
||||
throw new InvalidArgumentException(sprintf('Invalid type "%s".', $type));
|
||||
throw new InvalidArgumentException(\sprintf('Invalid type "%s".', $type));
|
||||
}
|
||||
|
||||
$passes = &$this->$property;
|
||||
|
||||
Reference in New Issue
Block a user