This is a list of issues or discrepencies between the wording or intention of PSR-2 itself and the CodeSniffer PSR-2 ruleset.
Add suggestions in the comments or tweet me (@philsturgeon) if you have more inconsistencies to report.
| <?php | |
| declare(strict_types=1); | |
| namespace SymfonyLive\Mastermind\Adapters\Database; | |
| use Doctrine\Common\Persistence\ManagerRegistry; | |
| use Doctrine\Common\Persistence\ObjectManager; | |
| use Doctrine\ORM\Tools\SchemaTool; | |
| use RuntimeException; |
| The MIT License (MIT) | |
| Copyright (c) 2015 Justin Perry | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this software and associated documentation files (the "Software"), to deal in | |
| the Software without restriction, including without limitation the rights to | |
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
| the Software, and to permit persons to whom the Software is furnished to do so, | |
| subject to the following conditions: |
| /** | |
| * Notes and various links mentioned in | |
| * FVCP and FVDrupalCamp 2014 | |
| * on web page speed, testing and loading | |
| */ | |
| Developer Tools in browser. | |
| Load page under Network | |
| Can save load meta data as HAR file (rt click / save as HAR with content) |
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |
This is a list of issues or discrepencies between the wording or intention of PSR-2 itself and the CodeSniffer PSR-2 ruleset.
Add suggestions in the comments or tweet me (@philsturgeon) if you have more inconsistencies to report.
| #!/usr/bin/env ruby | |
| shutdown = false | |
| cnf_path = '/usr/local/etc/my_ramdisk.cnf' | |
| ramdisk_path = '/Volumes/RAMDisk' | |
| loop { case ARGV[0] | |
| when 'shutdown' then ARGV.shift; shutdown = true | |
| else break | |
| end; } |
| Given /^I am on the home page$/ do | |
| visit "/" | |
| end | |
| Then /^I should see "([^"]*)"$/ do |text| | |
| page.should have_content text | |
| end |
| Feature: Testing Configuration | |
| In order to have a base for my new application | |
| As a developer | |
| I want to test the configuration settings for this application | |
| Scenario: Test Home Page | |
| Given I am on the home page | |
| Then I should see "home" |
| html, body, div, span, applet, object, iframe, table, caption, | |
| tbody, tfoot, thead, tr, th, td, del, dfn, em, font, img, ins, | |
| kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, | |
| acronym, address, big, cite, code, dl, dt, dd, ol, ul, li, | |
| fieldset, form, label, legend { | |
| vertical-align: baseline; | |
| font-family: inherit; | |
| font-weight: inherit; | |
| font-style: inherit; |
| /** | |
| * Provides quick reflection, usually so that the caller can access private | |
| * methods and properies in a single pass. | |
| * | |
| * If called with a single String classname, then the \ReflectionClass of | |
| * that class is returned. | |
| * Accepts any number of additional Strings that are names of properties or | |
| * methods to make accessible and return. Methods should be prefixed with 'method:'. | |
| * The return value is an array containing the mapped reflection class and the properties / methods. | |
| * |