Skip to content

Commit

Permalink
Replaced default IDE link provider. Still PHPStorm, just another means.
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
raveren committed Apr 5, 2023
1 parent cb97622 commit 36f8027
Show file tree
Hide file tree
Showing 29 changed files with 440 additions and 455,471 deletions.
2 changes: 1 addition & 1 deletion .github/build/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
$phar->updateTimestamps();
$phar->save($pharPath, Phar::SHA512);

saged("Success!!! /sage.phar updated!");
saged('Success!!! /sage.phar updated!');
16 changes: 8 additions & 8 deletions .github/examples/overview.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

require('../Sage.php');
require_once __DIR__ . '/../../vendor/autoload.php';

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

/**
* @return \DateTime date object
* @return DateTime date object
*/
public function getCreatedDate()
{
}

/**
* @param \DateTime $date
* @param DateTime $date
*/
public function setCreatedDate(DateTime $date)
{
Expand Down Expand Up @@ -110,12 +110,12 @@ public function getUser()
/**
* Debug specific user
*
* @param \User $user
* @param User $user
*/
public function debugUser($user)
{
$this->user = $user;
d($this->getUser());
s($this->getUser());
}

/**
Expand Down Expand Up @@ -199,8 +199,8 @@ public function ensureUser()
<h3>Debug variables</h3>
<?php
$userManager->debugUser($user);
d($userManager, $tabularData);
d($nestedArray);
s($userManager, $tabularData);
s($nestedArray);
?>
<h3>Trace</h3>
<?php
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ sh:

build:
$(DOCKER) up -d
make test
$(DOCKER) run php composer build # see composer.json -> "scripts" section
make test


test:
Expand Down
Loading

0 comments on commit 36f8027

Please sign in to comment.