-
Notifications
You must be signed in to change notification settings - Fork 108
feat: PHP 8.5 and Symfony 8 support #323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.x
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.apc_fragmentation', \Laminas\Diagnostics\Check\ApcFragmentation::class) | ||
| ->public() | ||
| ->args([ | ||
| '%%liip_monitor.check.apc_fragmentation.warning%%', | ||
| '%%liip_monitor.check.apc_fragmentation.critical%%', | ||
| ]) | ||
| ->tag('liip_monitor.check', ['alias' => 'apc_fragmentation']); | ||
| }; | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.apc_memory', \Laminas\Diagnostics\Check\ApcMemory::class) | ||
| ->public() | ||
| ->args([ | ||
| '%%liip_monitor.check.apc_memory.warning%%', | ||
| '%%liip_monitor.check.apc_memory.critical%%', | ||
| ]) | ||
| ->tag('liip_monitor.check', ['alias' => 'apc_memory']); | ||
| }; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.class_exists', \Laminas\Diagnostics\Check\ClassExists::class) | ||
| ->public() | ||
| ->args(['%%liip_monitor.check.class_exists%%']) | ||
| ->tag('liip_monitor.check', ['alias' => 'class_exists']); | ||
| }; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.cpu_performance', \Laminas\Diagnostics\Check\CpuPerformance::class) | ||
| ->public() | ||
| ->args(['%%liip_monitor.check.cpu_performance%%']) | ||
| ->tag('liip_monitor.check', ['alias' => 'cpu_performance']); | ||
| }; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.custom_error_pages', \Liip\MonitorBundle\Check\CustomErrorPages::class) | ||
| ->public() | ||
| ->args([ | ||
| '%%liip_monitor.check.custom_error_pages.error_codes%%', | ||
| '%%liip_monitor.check.custom_error_pages.path%%', | ||
| '%kernel.project_dir%', | ||
| ]) | ||
| ->tag('liip_monitor.check', ['alias' => 'custom_error_pages']); | ||
| }; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.disk_usage', \Laminas\Diagnostics\Check\DiskUsage::class) | ||
| ->public() | ||
| ->args([ | ||
| '%%liip_monitor.check.disk_usage.warning%%', | ||
| '%%liip_monitor.check.disk_usage.critical%%', | ||
| '%%liip_monitor.check.disk_usage.path%%', | ||
| ]) | ||
| ->tag('liip_monitor.check', ['alias' => 'disk_usage']); | ||
| }; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.doctrine_dbal', \Liip\MonitorBundle\Check\DoctrineDbalCollection::class) | ||
| ->public() | ||
| ->args([ | ||
| service('doctrine'), | ||
| '%%liip_monitor.check.doctrine_dbal%%', | ||
| ]) | ||
| ->tag('liip_monitor.check_collection'); | ||
| }; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.doctrine_migrations', \Liip\MonitorBundle\Check\DoctrineMigrationsCollection::class) | ||
| ->public() | ||
| ->args([ | ||
| service('service_container'), | ||
| '%%liip_monitor.check.doctrine_migrations%%', | ||
| ]) | ||
| ->tag('liip_monitor.check_collection'); | ||
| }; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.doctrine_mongodb', \Liip\MonitorBundle\Check\DoctrineMongoDbCollection::class) | ||
| ->public() | ||
| ->args([ | ||
| service('doctrine_mongodb'), | ||
| '%%liip_monitor.check.doctrine_mongodb%%', | ||
| ]) | ||
| ->tag('liip_monitor.check_collection'); | ||
| }; |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <?php | ||
|
|
||
| namespace Symfony\Component\DependencyInjection\Loader\Configurator; | ||
|
|
||
| return static function (ContainerConfigurator $container) { | ||
| $services = $container->services(); | ||
| $parameters = $container->parameters(); | ||
|
|
||
| $services->set('liip_monitor.check.expressions', \Liip\MonitorBundle\Check\ExpressionCollection::class) | ||
| ->public() | ||
| ->args(['%%liip_monitor.check.expressions%%']) | ||
| ->tag('liip_monitor.check_collection'); | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised by the double
%%? They look like parameters, and%%is for escaped%.Numeric values are expected.