Matthimatiker / OpcacheBundle

Displays the PHP OPcache status in the Symfony profiler toolbar.
MIT License
22 stars 2 forks source link

Added num_cached_keys in default status data #15

Closed monobook closed 8 years ago

monobook commented 8 years ago

We've got this after turned on E_ALL error reporting

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Notice: Undefined index: num_cached_keys' in vendor/matthimatiker/opcache-bundle/ByteCodeCache/PhpOpcache.php on line 121

coveralls commented 8 years ago

Coverage Status

Coverage increased (+2.0e-05%) to 99.862% when pulling d492f59ecc15fa83a180179220e1779fd10d010b on monobook:fix_num_cached_keys_in_default_status_data into 2af73e09fc8a10b7b7b4bc609f848f979901803a on Matthimatiker:master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+2.0e-05%) to 99.862% when pulling d492f59ecc15fa83a180179220e1779fd10d010b on monobook:fix_num_cached_keys_in_default_status_data into 2af73e09fc8a10b7b7b4bc609f848f979901803a on Matthimatiker:master.

monobook commented 8 years ago

@Matthimatiker

Matthimatiker commented 8 years ago

@monobook Thanks for your contribution and for using this bundle! I merged your changes and created release 0.4.3 that includes your fix.

monobook commented 8 years ago

@Matthimatiker you are welcome ;)