Skip to content

Violation: WeakTypesComparisonsWithExplanation #5

@juzna

Description

@juzna

Shouldn't this be fixed in Nette?

// Nette/Application/Routers/Route.php:558
if ($pattern == '' && isset($meta[self::PATTERN])) {
    $pattern = $meta[self::PATTERN];
}
// Cache.php
return @filemtime($file) == $time; // @ - stat may fail
// MySqlDriver - error by hrach ;)
return $item === self::SUPPORT_COLUMNS_META || $item == self::SUPPORT_SELECT_UNGROUPED_COLUMNS;
// SqliteDriver.php
if ($column == $info['name'])
// DiscoveredReflection.php
if ($table['view'] == FALSE) 

etc..:

  • BlueScreen.php
  • Context.php
  • RequestFactory.php
  • Session.php
  • CoreMacros.php
  • UIMacros.php
  • RobotLoader.php
  • SmtpMailer.php
  • Finder.php
  • Tokenizer.php
  • Image.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions