- assume your code doesn't use any deprecated from versions below Symfony 2.3
- update dependencies from 2.3 to 2.7
- do not support "deprecated", be "Symfony3-ready"
- list tasks component by component, bundle by bundle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpFoundation\Response; | |
| use Symfony\Component\HttpKernel\HttpKernel; | |
| use Symfony\Component\HttpKernel\HttpKernelInterface; | |
| class AppKernel extends HttpKernel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| PHP=/usr/local/opt/php70/bin/php | |
| ARGUMENTS="--ignore-platform-reqs --optimize-autoloader" | |
| EXCLUDE_COMMANDS=(init selfupdate dumpautoload diagnose) | |
| for item in "${EXCLUDE_COMMANDS[@]}"; do | |
| if [[ $1 == "$item" ]]; then ARGUMENTS=""; fi | |
| done | |
| echo "Running composer with $($PHP -v)" |
Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| ) | |
| func init() { | |
| log.SetFlags(log.Lshortfile) |