Skip to content
Snippets Groups Projects
  1. Oct 12, 2016
  2. Oct 11, 2016
  3. Oct 07, 2016
  4. Oct 04, 2016
  5. Oct 03, 2016
    • Jaime Pérez's avatar
      Take advantage of ParseError in PHP 7. · ed76d125
      Jaime Pérez authored
      When we try to load a configuration file and there's a syntax error, PHP 7 will throw the new ParseError. We can take advantage of that to capture it and give the user a meaningful message back.
      
      This resolves #483.
      ed76d125
    • Jaime Pérez's avatar
      bugfix: Allow exception messages different than "You have not yet created the... · 3d80866b
      Jaime Pérez authored
      bugfix: Allow exception messages different than "You have not yet created the SimpleSAMLphp configuration files.".
      
      Right now, that's the only error message that you will ever get if something goes wrong with the configuration, no matter what. The message should not be hardcoded, but use the one from the captured exception instead.
      3d80866b
    • Jaime Pérez's avatar
      bugfix: Avoid masked errors in PHP 7. · bd775b2b
      Jaime Pérez authored
      ParseError errors in PHP 7 have a code of 0, which will always be masked. Avoid that by forcing error codes of 0 to be E_ERROR instead.
      bd775b2b
    • Jaime Pérez's avatar
      Remove unused variable. · ca03e7eb
      Jaime Pérez authored
      It is set later inside one of the branches of the if, but the other branches abort the execution of the method, so there's no need to define it outside the if.
      ca03e7eb
  6. Sep 30, 2016
  7. Sep 29, 2016
  8. Sep 28, 2016
Loading