Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Migration Class Names
Post: RE: Migration Class Names

InsiteFX Wrote: (08-04-2017, 03:47 AM) -- According to the documentation you either use an incremental index or timestamp. From what you have shown is that your trying to use the same file without...
5,251 Views
3 Replies
08-04-2017, 08:18 AM
versalle88
    Thread: Allow more environments
Post: RE: Allow more environments

You can add additional environments yourself in the top half of the index.php file (the half you can customize): Code: -- switch (\ENVIRONMENT) { case 'cli': case 'local': case 'development...
8,262 Views
5 Replies
08-03-2017, 04:53 AM
versalle88
    Thread: Migration Class Names
Post: Migration Class Names

I'm having an issue with CI 3 migrations and I'm wondering if anyone else has run into this and how they fixed it. If I have the following migration file: Code: -- 20121031100537_alter_blog.php...
5,251 Views
3 Replies
08-03-2017, 04:45 AM
versalle88
    Thread: CodeIgniter 3 PHP CodeSniffer
Post: RE: CodeIgniter 3 PHP CodeSniffer

Narf Wrote: (07-27-2016, 05:05 AM) -- For what? -- For running against custom CI code and ensuring that it follows CI's style guide, coding standards, etc... To be clear, this isn't anything tha...
9,194 Views
5 Replies
07-27-2016, 07:31 AM
versalle88
    Thread: Setter / Getter Best Practice 2016
Post: RE: Setter / Getter Best Practice 2016

If this works well for you, I'd say it's okay. As far as best practices go, I think getters and setters should be separate methods; otherwise, you're violating the SRP: https://en.wikipedia.org/wik...
8,196 Views
4 Replies
07-26-2016, 08:36 AM
versalle88
    Thread: CodeIgniter 3 PHP CodeSniffer
Post: CodeIgniter 3 PHP CodeSniffer

Hey, Does anyone know of a good CodeSniffer for CodeIgniter 3? I have one for CI 2 that I may just modify as need be, but I was hoping someone may have already created one. Cheers, Andrew
9,194 Views
5 Replies
07-26-2016, 08:34 AM
versalle88
    Thread: Form Validation Rulesets (alternative syntax proposal)
Post: RE: Form Validation Rulesets (alternative syntax p...

Hey, I think this is a great idea! I've come up with a slightly different form_validation.php config that removes some of the redundancy as well: Code: -- /* |---------------------------------...
3,486 Views
0 Replies
02-03-2015, 12:24 PM
versalle88

Theme © iAndrew 2016 - Forum software by © MyBB