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

Helper script to transition 2.xx to 3.0 #33

Closed
alombarte opened this issue Jan 8, 2014 · 7 comments
Closed

Helper script to transition 2.xx to 3.0 #33

alombarte opened this issue Jan 8, 2014 · 7 comments
Assignees
Milestone

Comments

@alombarte
Copy link
Contributor

Create script that helps minimize this major release, moving existing Sifo users code to PSR-0 as automatically as possible.

Namespaces to take in account:

  • Sifo\Cache
  • Sifo\Exception
  • Sifo\Filter
  • Sifo\Debug
  • Sifo\LoadBalancer
  • Sifo\Media
  • Sifo\Mysql
@ghost ghost assigned alombarte Jan 8, 2014
@alexgt9
Copy link
Member

alexgt9 commented Jan 10, 2014

I have some experience in this aspect ;) and I think that this will be very problematic, we need to change so many things... specially the directory structure, something that people could follow the standard or could insert something rare.
Maybe we can create a "guide" and a little script, it depends on the final result of this holocaust

@ghost ghost assigned alexgt9 Jan 10, 2014
@alombarte
Copy link
Contributor Author

Perfect, I assigned you the task. If you don't want to do it no problem, I'll get it back. When the structure is more or less ready than the definition of the task will be complete. There are many things to do just like for instance renaming .ctrl.php and .model.php and leave only the .php extension. Moving from tabs to spaces and applying CS rules is another task.

I think Symfony has a script to adapt files to PSR that we can make us of.

@alexgt9
Copy link
Member

alexgt9 commented Jan 10, 2014

Ok, I take it.

I will see that script of symfony, I didn't know it.

@alexgt9
Copy link
Member

alexgt9 commented Jan 10, 2014

I have seen the script, and I think it good for CS, for psr0, I have my own solution.

@alombarte
Copy link
Contributor Author

I totally trust you in this matter ;)

@alombarte
Copy link
Contributor Author

I closed the issue, the script no longer makes sense

@alexgt9
Copy link
Member

alexgt9 commented Oct 8, 2015

Nice 👍

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

No branches or pull requests

2 participants