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

Added autoParagraph functionality to TextHelper #1025

Closed
wants to merge 443 commits into from
Closed

Added autoParagraph functionality to TextHelper #1025

wants to merge 443 commits into from

Conversation

TeckniX
Copy link
Contributor

@TeckniX TeckniX commented Dec 14, 2012

There's more than my file on this pull-request, which I'm not sure I understand.
Following previous autoP discussion, this is an update to the function in the TextHelper only, and renamed as autoParagraph.

I haven't done 'tests' in cake before, so I will not be able to create the proper test cases. I apologize for my lack of knowledge on this area of CakePHP

dogmatic69 and others added 30 commits September 14, 2012 14:54
For some reason that I have not been able to figure out yet the object is
returned as null.  This is causing some exceptions when trying to access
properties that dont exist.

FatalErrorException: "Call to a member function getAssociated() on a non-object"

Test still pass with the added check.
Adding a check to the object before use
You cant pass func_get_args() in PHP < 5.3
removing redundant code and shifting a few things around so there
are less nested ifs and making things easier to follow.

Removing some variable setting, returning function calls instead.
Cleaning up the RequestHandlerCompoent
check() for CookieComponent and Configure
skipping the rijndael test if mcrypt_encrypt() is not available
This is an optional method in DboSource that allows datasources to
resetSequence values in tables.  This is useful for datasources like
Postgres, and makes using fixtures much easier.

Fixes #3026
Add CakeNumber::fromReadableSize() and Validation::filesize()
Added ability to set default view block content
markstory and others added 25 commits December 3, 2012 12:55
Remove double semicolon in generated fixtures.

Fixes #3429
remove nested if's and else where possible and early return.
unify new lines at the end of the file
Fix issue where Hash::expand() sets incorrect array keys

Fixes #3434
Conflicts:
	lib/Cake/VERSION.txt
Validation simplify

Simplify internals in Model/Validation
starting refactor Form->input
and accidentally been re-added in 3e3af1f
ignore last few silencers for code sniffer
Conflicts:
	lib/Cake/Model/CakeSchema.php
	lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
Following previous autoP discussion, this is an update to the function. I haven't done 'test' in cake before, so I will not be able to create the proper test cases.
Simple line returns still need to look proper - nl2br added
@markstory
Copy link
Member

Looks like your merge is mixed up. I think you want this to target 2.3 instead of master.

@markstory markstory closed this Dec 14, 2012
@TeckniX
Copy link
Contributor Author

TeckniX commented Dec 14, 2012

I went to edit only 1 file from the 2.3 branch - Not sure how it created the rest?

@ADmad
Copy link
Member

ADmad commented Dec 14, 2012

@TeckniX The problem is your PR is targeted to the master branch instead of 2.3. When creating a PR change the "base branch" to 2.3

@TeckniX
Copy link
Contributor Author

TeckniX commented Dec 14, 2012

Figured it out - thanks!

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.