mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Enhancement: Enable single_space_after_construct fixer
Closes GH-640.
This commit is contained in:
@@ -13,8 +13,8 @@ site_header("PHP Conferences around the world", array(
|
||||
|
||||
$content = "<div class='home-content'>";
|
||||
$frontpage = array();
|
||||
foreach($NEWS_ENTRIES as $entry) {
|
||||
foreach($entry["category"] as $category) {
|
||||
foreach ($NEWS_ENTRIES as $entry) {
|
||||
foreach ($entry["category"] as $category) {
|
||||
if ($category["term"] == "cfp") {
|
||||
$frontpage[] = $entry;
|
||||
break;
|
||||
@@ -28,7 +28,7 @@ foreach($NEWS_ENTRIES as $entry) {
|
||||
$panels = '<p class="prepend"><a href="https://wiki.php.net/conferences">Want to see your conference appear here?</a></p>';
|
||||
|
||||
|
||||
foreach($frontpage as $entry) {
|
||||
foreach ($frontpage as $entry) {
|
||||
$link = preg_replace('~^(http://php.net/|https://www.php.net/)~', '', $entry["id"]);
|
||||
$id = parse_url($entry["id"], PHP_URL_FRAGMENT);
|
||||
$date = date_format(date_create($entry["updated"]), 'Y-m-d');
|
||||
|
||||
Reference in New Issue
Block a user