Skip to content
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

Two small fixes in the sfPropelPlugin for newer PHP versions #5

Merged
merged 2 commits into from Oct 7, 2014
Merged

Two small fixes in the sfPropelPlugin for newer PHP versions #5

merged 2 commits into from Oct 7, 2014

Conversation

leonrenkema
Copy link

I'v patched the sfPropelPlugin for newer versions of PHP that have deprecated mysql_escape_string

@@ -191,7 +191,7 @@ function resolveFile(PhingFile $f) {
/* -- most of the following is mapped to the php natives wrapped by FileSystem */

/* -- Attribute accessors -- */
function getBooleanAttributes(&$f) {
function getBooleanAttributes($f) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this related to the issue causing output when generating models?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to do with this strict warning: PHP Strict standards: Declaration of UnixFileSystem::getBooleanAttributes() should be compatible with FileSystem::getBooleanAttributes($f) in code/lib/vendor/symfony/symfony1/lib/plugins/sfPropelPlugin/lib/vendor/phing/system/io/UnixFileSystem.php on line 278 during generation of the models yes.

@linaori
Copy link

linaori commented Oct 7, 2014

@leonrenkema Thanks for the PR, I'll release a tag shortly.

linaori added a commit that referenced this pull request Oct 7, 2014
Two small fixes in the sfPropelPlugin for newer PHP versions
@linaori linaori merged commit 4383564 into hostnet:1.3 Oct 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants