Skip to content

Instantly share code, notes, and snippets.

@tmotyl
Created April 28, 2014 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmotyl/11365191 to your computer and use it in GitHub Desktop.
Save tmotyl/11365191 to your computer and use it in GitHub Desktop.
Comment out some methods from TYPO3 interfaces for HHVM compatibility
diff --git a/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageInterface.php b/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageInterface.php
index ad41b07..3cd087b 100644
--- a/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageInterface.php
+++ b/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageInterface.php
@@ -34,7 +34,7 @@ interface PackageInterface {
* @param \TYPO3\Flow\Core\Bootstrap $bootstrap The current bootstrap
* @return void
*/
- public function boot(\TYPO3\Flow\Core\Bootstrap $bootstrap);
+// public function boot(\TYPO3\Flow\Core\Bootstrap $bootstrap);
/**
* Returns the package meta object of this package.
diff --git a/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManagerInterface.php b/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManagerInterface.php
index 1d7074b..cf9e7ef 100644
--- a/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManagerInterface.php
+++ b/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManagerInterface.php
@@ -24,7 +24,7 @@ interface PackageManagerInterface {
* @param \TYPO3\Flow\Core\Bootstrap $bootstrap The current bootstrap
* @return void
*/
- public function initialize(\TYPO3\Flow\Core\Bootstrap $bootstrap);
+// public function initialize(\TYPO3\Flow\Core\Bootstrap $bootstrap);
/**
* Returns TRUE if a package is available (the package's files exist in the packages directory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment