this post was submitted on 16 Dec 2024
1 points (100.0% liked)

PHP: The latest news in the PHP world

5 readers
1 users here now

Share and discover the latest news about the PHP ecosystem and its community. Please respect r/php's rules.

founded 1 year ago
MODERATORS
 
The original post: /r/php by /u/ask_your_dad on 2024-12-16 13:57:26.

Sorry if this seems too generic, but this is my first major project a new company and I want to make sure I'm doing a good job. I don't have any support really at this place besides myself so I'm a feeling on a island.

I inherited a project that's about 5 years old, php 7.4 and symfony 4.3. I'm tasked to upgrade it.

I wasn't sure the best approach so I've just updated the versions in composer and got it to build. Then I've just been addressing methods that tools/ide complain are deprecated. It's mainly API calls and just db calls so a lot of doctrine updates.

Are there other things I should do or include? The application already has PHPUnit installed, so I was thinking of trying to incorporate those. Some files have a ton of code, lots of sql, was thinking I'd try to decouple some of the sql into their own files or service to help get lines of code lower.

But outside of testing and ensuring a 1 to 1, and just fixing errors as I encounter them, I'm not sure what else I should be doing that a seasoned engineer should be doing.

Thank you.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here