Exchanged call to deprecated method.

Related to https://scrutinizer-ci.com/g/phpDocumentor/phpDocumentor2/inspections/9e7104ef-add3-46da-9115-6f1de5404121/issues/files/src/phpDocumentor/Plugin/Core/Twig/Extension.php?status=existing&selectedLabels[0]=11&orderField=path&order=asc
Corrected call
Exchanged call to deprecated method.

Related to https://scrutinizer-ci.com/g/phpDocumentor/phpDocumentor2/inspections/9e7104ef-add3-46da-9115-6f1de5404121/issues/files/src/phpDocumentor/Plugin/Core/Twig/Extension.php?status=existing&selectedLabels[0]=11&orderField=path&order=asc
Corrected call
Merge branch 'patch-15' of https://github.com/siad007/phpDocumentor2 into patch-15
fix the extension name for OPcache;
Merge pull request #1191 from ashnazg/fixOpcacheCheck

fix the extension name for OPcache;
Preparing release of version 2.4 of phpDocumentor
Merge branch 'develop' of github.com:phpDocumentor/phpDocumentor2 into develop
Bumped version number to 2.4
Update version for the development of release 2.5
Correct an interface name in Twig plugin.

Due to the Twig refactoring in his own plugin, the interface name has changed.
Merge pull request #1195 from marcimat/develop

Correct an interface name in Twig plugin.
Fixes #1196: Files cannot be copied with FileIO

The FileIO writer was altered to remove duplication and re-use library
code to reduce maintenance but a side-effect was that files could
no longer be copied.

This commit implements the solution as suggested by @marcimat and
re-enables the copying of files.
Merge pull request #1169 from siad007/patch-15

Exchanged call to deprecated method.
Merge pull request #1200 from mvriel/hotfix/1196

Fixes #1196: Files cannot be copied with FileIO