Skip to content

Commit 36f8027

Browse files
committed
Replaced default IDE link provider. Still PHPStorm, just another means.
* The good old remote call plugin was replaced by IDE remote control. * The new plugin is not as liberal for what the file path is prefixed, so improved app-root detection, removing Sage::$appRootDirs in the process. Breaking change but no one used it, fact :) * Updated fonts to be a more modern selection. Bolder, nicer, readabler :) * Random inspections fixed
1 parent cb97622 commit 36f8027

29 files changed

+440
-455471
lines changed

.github/build/build.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
$phar->updateTimestamps();
3232
$phar->save($pharPath, Phar::SHA512);
3333

34-
saged("Success!!! /sage.phar updated!");
34+
saged('Success!!! /sage.phar updated!');

.github/examples/overview.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
require('../Sage.php');
3+
require_once __DIR__ . '/../../vendor/autoload.php';
44

55
$selectedTheme = isset($_GET['theme']) ? $_GET['theme'] : 'original';
66
$allowedThemes = array();
7-
$dh = opendir('../resources/compiled');
7+
$dh = opendir(SAGE_DIR . '/resources/compiled');
88
while (($filename = readdir($dh)) !== false) {
99
if (strpos($filename, '.css') !== false) {
1010
$allowedThemes[] = str_replace('.css', '', $filename);
@@ -72,14 +72,14 @@ public function setAdditionalData(array $data)
7272
}
7373

7474
/**
75-
* @return \DateTime date object
75+
* @return DateTime date object
7676
*/
7777
public function getCreatedDate()
7878
{
7979
}
8080

8181
/**
82-
* @param \DateTime $date
82+
* @param DateTime $date
8383
*/
8484
public function setCreatedDate(DateTime $date)
8585
{
@@ -110,12 +110,12 @@ public function getUser()
110110
/**
111111
* Debug specific user
112112
*
113-
* @param \User $user
113+
* @param User $user
114114
*/
115115
public function debugUser($user)
116116
{
117117
$this->user = $user;
118-
d($this->getUser());
118+
s($this->getUser());
119119
}
120120

121121
/**
@@ -199,8 +199,8 @@ public function ensureUser()
199199
<h3>Debug variables</h3>
200200
<?php
201201
$userManager->debugUser($user);
202-
d($userManager, $tabularData);
203-
d($nestedArray);
202+
s($userManager, $tabularData);
203+
s($nestedArray);
204204
?>
205205
<h3>Trace</h3>
206206
<?php

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ sh:
1111

1212
build:
1313
$(DOCKER) up -d
14-
make test
1514
$(DOCKER) run php composer build # see composer.json -> "scripts" section
15+
make test
1616

1717

1818
test:

0 commit comments

Comments
 (0)